package com.team622.shop.orders.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.team622.shop.orders.model.entity.OrderItem;
import com.team622.shop.orders.model.vo.CartItemVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author team622
 * @since 2025-07-16
 */
public interface OrderItemService extends IService<OrderItem> {


    BigDecimal addOrderItem(List<CartItemVO> cartItems,Long id);

    List<OrderItem> getOrderItemsByOrderId(Long orderId);
}
